﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CMS.Core
{
    public class RoleManager:BaseManager<Role>
    {
       public bool HasRoleName(string name)
        {
            return base.Repository.IsContains(m => m.Name == name);
        }
    }
}
